Optimal. Leaf size=69 \[ c^2 (-d) x \left (a+b \sin ^{-1}(c x)\right )-\frac{d \left (a+b \sin ^{-1}(c x)\right )}{x}-b c d \sqrt{1-c^2 x^2}-b c d \tanh ^{-1}\left (\sqrt{1-c^2 x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0756378, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 7, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.304, Rules used = {14, 4687, 12, 446, 80, 63, 208} \[ c^2 (-d) x \left (a+b \sin ^{-1}(c x)\right )-\frac{d \left (a+b \sin ^{-1}(c x)\right )}{x}-b c d \sqrt{1-c^2 x^2}-b c d \tanh ^{-1}\left (\sqrt{1-c^2 x^2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 4687
Rule 12
Rule 446
Rule 80
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{\left (d-c^2 d x^2\right ) \left (a+b \sin ^{-1}(c x)\right )}{x^2} \, dx &=-\frac{d \left (a+b \sin ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \sin ^{-1}(c x)\right )-(b c) \int \frac{d \left (-1-c^2 x^2\right )}{x \sqrt{1-c^2 x^2}} \, dx\\ &=-\frac{d \left (a+b \sin ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \sin ^{-1}(c x)\right )-(b c d) \int \frac{-1-c^2 x^2}{x \sqrt{1-c^2 x^2}} \, dx\\ &=-\frac{d \left (a+b \sin ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \sin ^{-1}(c x)\right )-\frac{1}{2} (b c d) \operatorname{Subst}\left (\int \frac{-1-c^2 x}{x \sqrt{1-c^2 x}} \, dx,x,x^2\right )\\ &=-b c d \sqrt{1-c^2 x^2}-\frac{d \left (a+b \sin ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \sin ^{-1}(c x)\right )+\frac{1}{2} (b c d) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{1-c^2 x}} \, dx,x,x^2\right )\\ &=-b c d \sqrt{1-c^2 x^2}-\frac{d \left (a+b \sin ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \sin ^{-1}(c x)\right )-\frac{(b d) \operatorname{Subst}\left (\int \frac{1}{\frac{1}{c^2}-\frac{x^2}{c^2}} \, dx,x,\sqrt{1-c^2 x^2}\right )}{c}\\ &=-b c d \sqrt{1-c^2 x^2}-\frac{d \left (a+b \sin ^{-1}(c x)\right )}{x}-c^2 d x \left (a+b \sin ^{-1}(c x)\right )-b c d \tanh ^{-1}\left (\sqrt{1-c^2 x^2}\right )\\ \end{align*}
Mathematica [A] time = 0.0355648, size = 78, normalized size = 1.13 \[ -a c^2 d x-\frac{a d}{x}-b c d \sqrt{1-c^2 x^2}-b c d \tanh ^{-1}\left (\sqrt{1-c^2 x^2}\right )-b c^2 d x \sin ^{-1}(c x)-\frac{b d \sin ^{-1}(c x)}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 67, normalized size = 1. \begin{align*} c \left ( -da \left ( cx+{\frac{1}{cx}} \right ) -db \left ( cx\arcsin \left ( cx \right ) +{\frac{\arcsin \left ( cx \right ) }{cx}}+\sqrt{-{c}^{2}{x}^{2}+1}+{\it Artanh} \left ({\frac{1}{\sqrt{-{c}^{2}{x}^{2}+1}}} \right ) \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.56601, size = 111, normalized size = 1.61 \begin{align*} -a c^{2} d x -{\left (c x \arcsin \left (c x\right ) + \sqrt{-c^{2} x^{2} + 1}\right )} b c d -{\left (c \log \left (\frac{2 \, \sqrt{-c^{2} x^{2} + 1}}{{\left | x \right |}} + \frac{2}{{\left | x \right |}}\right ) + \frac{\arcsin \left (c x\right )}{x}\right )} b d - \frac{a d}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.56593, size = 236, normalized size = 3.42 \begin{align*} -\frac{2 \, a c^{2} d x^{2} + b c d x \log \left (\sqrt{-c^{2} x^{2} + 1} + 1\right ) - b c d x \log \left (\sqrt{-c^{2} x^{2} + 1} - 1\right ) + 2 \, \sqrt{-c^{2} x^{2} + 1} b c d x + 2 \, a d + 2 \,{\left (b c^{2} d x^{2} + b d\right )} \arcsin \left (c x\right )}{2 \, x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 5.35423, size = 82, normalized size = 1.19 \begin{align*} - a c^{2} d x - \frac{a d}{x} - b c^{2} d \left (\begin{cases} 0 & \text{for}\: c = 0 \\x \operatorname{asin}{\left (c x \right )} + \frac{\sqrt{- c^{2} x^{2} + 1}}{c} & \text{otherwise} \end{cases}\right ) + b c d \left (\begin{cases} - \operatorname{acosh}{\left (\frac{1}{c x} \right )} & \text{for}\: \frac{1}{\left |{c^{2} x^{2}}\right |} > 1 \\i \operatorname{asin}{\left (\frac{1}{c x} \right )} & \text{otherwise} \end{cases}\right ) - \frac{b d \operatorname{asin}{\left (c x \right )}}{x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 6.15113, size = 1156, normalized size = 16.75 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]